package cn.psvmc.cxzapi.model.order;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 付款详情表
 *
 * @Author auto
 * @Date 2024-08-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_pay_detail")
public class TPayDetail implements Serializable {

    //付款详情id
    @TableId(value = "pdid", type = IdType.AUTO)
    private Integer pdid;

    //订单id
    @TableField("order_id")
    private Integer orderId;

    //付款金额
    @TableField("pay_amount")
    private Double payAmount;

    //付款方式
    @TableField("pay_type")
    private String payType;

    //付款时间
    @TableField("pay_time")
    private LocalDateTime payTime;

    //付款内容
    @TableField("comm")
    private String comm;

    //流水号
    @TableField("transaction_id")
    private String transactionId;

    //付款人
    @TableField("payer")
    private String payer;

    //已结算
    @TableField("settled")
    private Double settled;

    //创建人id
    @TableField(value = "createid", fill = FieldFill.INSERT)
    private Integer createid;

    //创建时间
    @TableField(value = "createtime", fill = FieldFill.INSERT)
    private LocalDateTime createtime;


}
